import request from '@/utils/request'

export function getWeekCharging() {
    return request({
        url: '/dashboard/weekCharging',
        method: 'get'
    })
}

export function getBatteryStatus() {
    return request({
        url: '/dashboard/batterySataus',
        method: 'get'
    })
}


export function getUserInfo() {
    return request({
        url: '/dashboard/userInfo',
        method: "get"
    })
}

export function getWranings() {
    return request({
        url: "/dashboard/warnings",
        method: "get"
    })
}

export function getChangingRank() {
    return request({
        url: "/dashboard/chargingRank",
        method: "get"
    })
}

export function getDischangeRank() {
    return request({
        url: "/dashboard/dischangeRank",
        method: "get"
    })
}


export function getStationTable() {
    return request({
        url: "/dashboard/stations",
        method: "get"
    })
}